<script setup>
defineProps(["list"]);
</script>

<template>
  <uv-grid
    :border="true"
    col="2"
  >
    <uv-grid-item
      v-for="(item, index) in list"
      :key="index"
    >
      <uv-icon
        :customStyle="{ paddingTop: 20 + 'rpx' }"
        :name="item.name"
        :size="30"
        :color="item?.color"
      ></uv-icon>
      <text class="grid-text">{{ item.title }}</text>
    </uv-grid-item>
  </uv-grid>
</template>

<style lang="scss" scoped></style>
